<?
/*
 * 設定：一些特定的DB 
 */


##################################################
$menu['adminStr']		= 'back_master'; 	//管理id
//master set
$menu['table']			='back_master';  //表
$menu['masterField']	='master'; 		//用戶名字段
$menu['password']		='password'; 	//密碼
$menu['keyField']		='keyField'; 	//權限名字段
$menu['noteField']		='content'; 	//備註名字段
 # 菜單數組
//*/
$i = 0;
$menu['field'][$i]['key']		='server_info';
$menu['field'][$i]['note']		='服務器信息';
$menu['field'][$i]['subArray']	=array(
		's_info.php'								=>'PHP 資料',
								);
//*/
$i++;
$menu['field'][$i]['key']		='cats_set';
$menu['field'][$i]['note']		='商舖/商品分類';
$menu['field'][$i]['subArray']	=array(
		'_cats_shop.php?act=shop'			 	=>'商舖類別',
		'_cats.php'				=>'商品分類'
								);
$i++;
$menu['field'][$i]['key']		='area_set';
$menu['field'][$i]['note']		='地區分類';
$menu['field'][$i]['subArray']	=array(
		'_area.php'			 	=>'地區分類'
								);
$i++;
$menu['field'][$i]['key']		='index_set';
$menu['field'][$i]['note']		='首页管理';
$menu['field'][$i]['subArray']	=array(
		"_index__big_img.php"			=>'大图广告',
		"_index__activity.php"			=>'首页活动',
		"_index__affiche.php"			=>'系统公告',
		"_index__txt_ad.php"			=>'注册下的文字',
		"_index__hot_faq.php"			=>'热门FAQ',
		"_index__hot_shop.php"			=>'推荐小店',
		"_index__hot_pct.php"			=>'热门商品',
								);

$i++;
$menu['field'][$i]['key']		='sell_show_set';
$menu['field'][$i]['note']		='展柜上的商品';
$menu['field'][$i]['subArray']	=array(
		'_goods.php?act=admin'			=>'商品管理',
		'_goods.php?act=add'			=>'新增新商品',
		"_goods.php?act=re"				=>'商品回收站',
		"_goods.php?act=batch"			=>'商品批次修改',
								);
$i++;
$menu['field'][$i]['key']		='sell_set';
$menu['field'][$i]['note']		='出售的商品';
$menu['field'][$i]['subArray']	=array(
		'_goods.php?act=admin'			=>'商品管理',
		'_goods.php?act=add'			=>'新增新商品',
		"_goods.php?act=re"				=>'商品回收站',
		"_goods.php?act=batch"			=>'商品批次修改',
								);
								
$i++;
$menu['field'][$i]['key']		='pct_set';
$menu['field'][$i]['note']		='商品管理';
$menu['field'][$i]['subArray']	=array(
		'_goods.php?act=admin'			=>'商品管理',
		'_goods.php?act=add'			=>'新增新商品',
		"_goods.php?act=re"				=>'商品回收站',
		"_goods.php?act=batch"			=>'商品批次修改',
								);

/*
商品管理 
商品列表 
新增新商品 
商品分類 
用戶評論 
商品品牌 
商品類型 
商品回收站 
圖片批次處理 
商品批次上傳 
商品批次修改 
產生商品代碼 
標簽管理 

*/

/*
訂單列表 
訂單查詢 
合併訂單 
訂單列印 
缺貨登記 
新增訂單 
*/
$i++;
$menu['field'][$i]['key']		='order_set';
$menu['field'][$i]['note']		='訂單管理';
$menu['field'][$i]['subArray']	=array(
		'_orders.php?act=admin'			=>'訂單管理',
		'_orders.php?act=search'		=>'訂單查詢'
								);
/*
廣告列表 
廣告位置 
*/
$i++;
$menu['field'][$i]['key']		='ad_set';
$menu['field'][$i]['note']		='廣告管理';
$menu['field'][$i]['subArray']	=array(
		'_ads.php?act=list'			=>'廣告列表',
		'_ads.php?act=ad'			=>'廣告位置',
								);
/*
文章分類 
文章列表 
店面說明 
店面訊息 
線上調查 

*/
$i++;
$menu['field'][$i]['key']		='post_set';
$menu['field'][$i]['note']		='信息管理';
$menu['field'][$i]['subArray']	=array(
		'_posts.php?act=add'				=>'发布公告',
		'_posts.php?act=list'				=>'公告列表',
		//'_posts.php?act=admin'				=>'信息檢索',
								);

/*
報表統計 
流量分析 
客戶統計 
訂單統計 
銷售概況 
會員排行 
銷售明細 
銷售排行 
訪問購買率 

*/

$i++;
$menu['field'][$i]['key']		='star_set';
$menu['field'][$i]['note']		='報表統計';
$menu['field'][$i]['subArray']	=array(
		'_stars.php?act=flux'				=>'流量分析',
		'_stars.php?act=user'				=>'客戶統計',
		'_stars.php?act=user_top'				=>'會員排行',
								);

/*

*/

$i++;
$menu['field'][$i]['key']		='log_set';
$menu['field'][$i]['note']		='日誌管理';
$menu['field'][$i]['subArray']	=array(
		'_logs.php?act=list'	=>'後台日誌列表',
		'_logs.php?act=clear'			=>'後台日誌清理',
								);
/*
 信息管理 
 管理公告
 發佈公告
 查看留言
 處理投訴與舉報
 信息檢索

*/

//*/
$i++;
$menu['field'][$i]['key']		='report_set';
$menu['field'][$i]['note']		='投訴與舉報';
$menu['field'][$i]['subArray']	=array(
		'_reports.php?act=n'					=>'未处理',
		'_reports.php?act=y'					=>'完成的',
		'_reports.php?act=a'					=>'所有的',
		);
/*
商舖商品管理 
 查找/編輯/暫停商舖
 所有商舖列表
 所有商品列表
 刪除商舖
 商舖批准
 鑽石商舖推薦
 誠信商舖推薦
 首頁推薦管理
*/
$i++;
$menu['field'][$i]['key']		='shop_set';
$menu['field'][$i]['note']		='商舖商品管理';
$menu['field'][$i]['subArray']	=array(
		'_shops.php?act=admin'								=>'查找/編輯/暫停商舖',
		'_shops.php?act=list'								=>'所有商舖列表',
		'_shops.php?act=del'								=>'刪除商舖',
		'_shops.php?act=yn'									=>' 商舖批准',
		'_shops.php?act=diamond'								=>'鑽石商舖推薦',
		'_shops.php?act=faith'									=>'誠信商舖推薦',
		'_shops.php?act=index'									=>'首頁推薦管理',
								);
/*
商家管理 
 預註冊商家
 查找/編輯/暫停商家
 所有商家列表
 商家等級管理
 刪除商家
 商家批准

*/
$i++;
$menu['field'][$i]['key']		='sell_set';
$menu['field'][$i]['note']		='商家管理';
$menu['field'][$i]['subArray']	=array(
		'_sells.php?act=add'				=>'預註冊商家',
		'_sells.php?act=admin'				=>'查找/編輯/暫停商家',
		'_sells.php?act=list'					=>'所有商家列表',
		'_sells.php?act=level'			=>'商家等級管理',
		'_sells.php?act=del'			=>'刪除商家',
		'_sells.php?act=yn'			=>'商家批准'
								);
								
/*
系統設定 
 基本配置
 恢復配置
 權限管理
 權限組別
*/

$i++;
$menu['field'][$i]['key']		='system_set';
$menu['field'][$i]['note']		='系統設定';
$menu['field'][$i]['subArray']	=array(
		'_systems.php?act=set'			=>'基本配置',
		'_systems.php?act=re'			=>'恢復配置',
		'_systems.php?act=popedom'			=>'權限管理',
		'_systems.php?act=group'			=>'權限組別',
								);

//*/
$i++;
$menu['field'][$i]['key']		='user_set';
$menu['field'][$i]['note']		='用戶管理';
$menu['field'][$i]['subArray']	=array(
		'_user.php'							=>'用戶管理',
								);
$i++;
$menu['field'][$i]['key']		='user_password_set';
$menu['field'][$i]['note']		='用戶密碼恢復';
$menu['field'][$i]['subArray']	=array(
		'_SetUserPassWord.php'		=>'用戶密碼恢復',
								);
								
$i++;
$menu['field'][$i]['key']		='faith_set';
$menu['field'][$i]['note']		='信用管理';
$menu['field'][$i]['subArray']	=array(
		'_faiths.php'		=>'信用管理',
								);
								
$i++;
$menu['field'][$i]['key']		='rz_set';
$menu['field'][$i]['note']		='用戶認證';
$menu['field'][$i]['subArray']	=array(
		'_SetRZ.php?action=rz'		   		=>'用戶認證',
								);
//*/
$i++;
$menu['field'][$i]['key']		='comment_on';
$menu['field'][$i]['note']		='評論管理';
$menu['field'][$i]['subArray']	=array(
		'_CommentOn.php'							=>'評論管理',
		'_CommentOn.php?action=CommentOn_del_user'	=>'刪除用戶評論',
		'_CommentOn_manager.php'=>'留言高級設定'
								);
								

$i++;
$menu['field'][$i]['key']		='cs_stat';
$menu['field'][$i]['note']		='客服統計';
$menu['field'][$i]['subArray']	=array(
		'_Cs.php'									=>'客服統計',
		'_Cs.php?a=log'								=>'日誌查詢',
								);


############################################################################
##  分界線 新加內容請加上這條線之上
############################################################################
$i++;
$menu['field'][$i]['key']		='admin_set';
$menu['field'][$i]['note']		='設定管理員';
$menu['action'][$menu['field'][$i]['key']]	=array();
$menu['field'][$i]['subArray']	=array(
		's_master.php?action=AdminAdd'			=>'添加管理員',
		's_master.php'							=>'管理員管',
								);
//*/
$i++;
$menu['field'][$i]['key']		= false;
$menu['field'][$i]['note']		='管理員選項';
$menu['field'][$i]['subArray']	=array(
		's_modifyPass.php'					=>'更改密碼',
		'login.php?action=outLogin'			=>'退出登錄',
								);
//*/
unset($i);
?>
